<template>
  <div class="home">
    <h1>{{ $t('message.welcome') }}</h1>
    <p>{{ $t('message.professionalTutoring') }}</p>
    <div class="features">
      <div class="feature">
        <h3>{{ $t('message.certifiedTeachers') }}</h3>
        <p>{{ $t('message.certifiedTeachersDesc') }}</p>
      </div>
      <div class="feature">
        <h3>{{ $t('message.convenientBooking') }}</h3>
        <p>{{ $t('message.convenientBookingDesc') }}</p>
      </div>
      <div class="feature">
        <h3>{{ $t('message.interactiveLearning') }}</h3>
        <p>{{ $t('message.interactiveLearningDesc') }}</p>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  name: 'HomeView'
}
</script>

<style scoped>
.home {
  padding: 2rem;
  text-align: center;
}

.features {
  display: flex;
  justify-content: space-around;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.feature {
  flex: 1;
  min-width: 200px;
  padding: 1rem;
  margin: 0.5rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  background-color: #f9f9f9;
}
</style>